﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;

namespace Invini.System.Structures
{
    [StructLayout(LayoutKind.Sequential)]
    public struct RawInputDeviceInfoHID
    {
        [MarshalAs(UnmanagedType.U4)]
        public int VendorId;

        [MarshalAs(UnmanagedType.U4)]
        public int ProductId;

        [MarshalAs(UnmanagedType.U4)]
        public int VersionNumber;

        [MarshalAs(UnmanagedType.U2)]
        public ushort UsagePage;

        [MarshalAs(UnmanagedType.U2)]
        public ushort Usage;
    }
}
